package zunge.lbe.analysis;

import zunge.tools.DbConn;

public class M_Analysis {

	static String dataFolder = "/usr0/home/bliu1/BinWork/Workspace/LBE_ANALYSIS_4/data/";
	static String libFolder = "/usr0/home/bliu1/BinWork/Workspace/LBE_ANALYSIS_4/library/";
	
	public static void main(String args[]){
		try{
			DbConn conn = new DbConn("127.0.0.1", "lbe_data_may","root","sergeypk428571");
			
			//DataSet dataSet = new DataSet(dataFolder, conn, true);
			DataSet dataSet = new DataSet(dataFolder, conn, false);
			
			//Analysis_Classification ac = new Analysis_Classification(dataSet, libFolder);
			//ac.gen();
			/* Run classification script */
			//ac.collectResult();
			
			Analysis_Social as = new Analysis_Social(dataSet,libFolder);
			//as.gen();
			/* Run social script */
			//as.test();
			/* Run social test script */
			//as.collectResult();
			
			//Analysis_Social_Probabilistic asp = new Analysis_Social_Probabilistic(as);
			//asp.gen();
			/* Run social prob script */
			//asp.collectResult();
			
			
			Analysis_Clustering acl = new Analysis_Clustering(dataSet, libFolder);
			//acl.gen(as);
			/* Run kmeans script */
			//acl.genReport(conn, as);
			acl.genHeatMap(conn, as);
			//acl.genQA(conn,as);
			//acl.test();
			/* Run kmeans test script */
			//acl.collectTest();
			
			
			conn.close();
		}catch(Exception e){e.printStackTrace();}
	}

}
